package com.sl.au.service;

import java.util.List;

import com.sl.au.entity.KitchenWaste;
import com.sl.au.repository.KitchenWasteRepository;

public interface KitchenWasteService extends BaseService {

	KitchenWasteRepository getRepository();

	List<KitchenWaste> findKitchenWasteByHistory(int start, int length, String key, String orderName, String dir);

	List<KitchenWaste> findKitchenWasteByToDay(int start, int length, String key, String orderName, String dir);

	List<KitchenWaste> getKitchenWastes(int start, int length, String key, String userId, String orderName, String dir);

	List<KitchenWaste> getPage(int start, int length, String userId, String orderName, String dir);

	int getCount(String key, String userId);

	List<KitchenWaste> listPartwastes(String bussinessId);

	List<KitchenWaste> getAdminPageByKey(int start, int length, String key);

	List<KitchenWaste> getAdminPageWithoutKey(int start, int length);

	int getAdminCount(String key);

	List<KitchenWaste> getOtherPageByKey(int start, int length, String key, String userId);

	List<KitchenWaste> getOtherPageWithoutKey(int start, int length, String userId);

	int getOtherCount(String userId, String key);

}
